from rest_framework import serializers
from .models import *


class UserSer(serializers.ModelSerializer):
    class Meta:
        model = UserDeng
        fields = '__all__'

class LaberSer(serializers.ModelSerializer):
    class Meta:
        model = Laber
        fields = '__all__'

class CourseSer(serializers.ModelSerializer):
    class Meta:
        model = Coures
        fields = ['title','pic','teacher']